package com.ruoyi.order.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import com.ruoyi.order.mapper.OrderMapper;
import com.ruoyi.order.service.IOrderService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 参数配置 服务层实现
 *
 * @author ruoyi
 */
@Service
public class OrderServiceImpl implements IOrderService {

    @Resource
    private OrderMapper orderMapper;

    /**
     * 查询参数配置信息
     *
     * @return 参数配置信息
     */
    @Override
    @Transactional
    public Integer reduceStock() {
        Integer integer = orderMapper.reduceStock();
        return integer;
    }

}
